﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HotelResSystem2
{
    public abstract class Discount
    {
        protected string name = "Discount";
        protected double percentage = 0.0;

        public virtual string Name
        {
            get { return name; }
        }

        public override string ToString()
        {
            return name; 
        }

        public virtual double Percentage
        {
            get { return percentage; }
        }
    }
}
